#!/usr/bin/python

"""Classes that represent different kinds of animals."""

#create new module: zverinec.py
#define class Zviera
#attributes: num_heads, num_tails, num_legs, fur_color, name
#methods: Describe(), MakeSound()

class Zviera(object):
  """Represents an Animal."""

  def __init__(self):
    self.num_heads = 1
    self.num_tails = None
    self.num_legs = None
    self.fur_color = None
    self.name = None

  def Describe(self):
    return ('My name is %s, I have heads: %r, tails: %r, legs: %r, fur color: '
      '%s.' % (self.name, self.num_heads, self.num_tails, self.num_legs,
               self.fur_color))

class Macka(Zviera):
  """Represents a Cat."""

  def __init__(self, name, fur_color):
    super(Macka, self).__init__()
    self.num_tails = 1
    self.num_legs = 4
    self.fur_color = fur_color
    self.name = name

def main():
  # Instancia fluffy.
  print 'Creating instance fluffy.'
  fluffy = Macka('fluffy', 'white')
  print fluffy.Describe()
  #print fluffy.MakeSound() 
  #print fluffy.Spi()
  
  # Instancia blackie
  # ... 

if __name__ == '__main__':
  main()
